package org.jeecg.modules.communityDynamicManag.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(value = "社团动态管理返回数据",description = "社团动态管理返回数据")
public class CommunityDynamicManagResult {
    /**主键*/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
    /**社团头像**/
    @Excel(name = "社团头像", width = 15)
    @ApiModelProperty(value = "社团头像")
    private String communityLogo;
    /**社团名称**/
    @Excel(name = "社团名称", width = 15)
    @ApiModelProperty(value = "社团名称")
    private String communityName;
    /**社团ID**/
    @Excel(name = "社团ID", width = 15)
    @ApiModelProperty(value = "社团ID")
    private String communityId;
    /**学校名称**/
    @Excel(name = "学校名称", width = 15)
    @ApiModelProperty(value = "学校名称")
    private String schoolName;
    /**学校ID**/
    @Excel(name = "学校ID", width = 15)
    @ApiModelProperty(value = "学校ID")
    private String schoolId;
    /**发布时间**/
    @Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "发布时间")
    private Date releaseTime;
    /**动态内容**/
    @Excel(name = "动态内容", width = 15)
    @ApiModelProperty(value = "动态内容")
    private String dynamicContent;
    /**内容图片或视频**/
    @Excel(name = "内容图片或视频", width = 15)
    @ApiModelProperty(value = "内容图片或视频")
    private String contentImg;
    /**经度**/
    @Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private String longitude;
    /**纬度**/
    @Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private String latitude;
    /**点赞数**/
    @Excel(name = "点赞数", width = 15)
    @ApiModelProperty(value = "点赞数")
    private Integer likes;
    /**转发数**/
    @Excel(name = "转发数", width = 15)
    @ApiModelProperty(value = "转发数")
    private Integer forwardNum;
    /**@的好友**/
    @Excel(name = "@的好友", width = 15)
    @ApiModelProperty(value = "@的好友")
    private String mentionedUserId;
    /**备用字段*/
    @ApiModelProperty(value = "备用字段")
    private String spare;
    /**审核：1待审核，2通过，3未通过*/
    @Excel(name = "审核：1待审核，2通过，3未通过", width = 15)
    @ApiModelProperty(value = "审核：1待审核，2通过，3未通过")
    @Dict(dicCode = "community_dynamic_review")
    private String audit;
    /**状态：1正常，2被投诉*/
    @Excel(name = "状态：1正常，2被投诉", width = 15)
    @ApiModelProperty(value = "状态：1正常，2被投诉")
    @Dict(dicCode = "cl_dynamics_status")
    private String type;
    /**删除：1正常，2已删除*/
    @Excel(name = "删除：1正常，2已删除", width = 15)
    @ApiModelProperty(value = "删除：1正常，2已删除")
    @Dict(dicCode = "community_dynamics_del")
    private String delFlag;
}
